package com.idheima.zuoye.zuoye5;

public class Frog extends  Animal implements Swim{
    @Override
    public void eat() {
        System.out.println("青蛙吃虫子");
    }

    @Override
    public void swim() {
        System.out.println("青蛙会游泳");
    }
   /* public void run(){
        System.out.println("青蛙会游泳");
    }

    */
}
